home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / mdiapp.bpr < prev    next >
Encoding:
Text File  |  1998-02-09  |  4.2 KB  |  157 lines

  1. # ---------------------------------------------------------------------------
  2. !if !$d(BCB)
  3. BCB = $(MAKEDIR)\..
  4. !endif
  5.  
  6. # ---------------------------------------------------------------------------
  7. # IDE SECTION
  8. # ---------------------------------------------------------------------------
  9. # The following section of the project makefile is managed by the BCB IDE.
  10. # It is recommended to use the IDE to change any of the values in this
  11. # section.
  12. # ---------------------------------------------------------------------------
  13.  
  14. VERSION = BCB.03
  15. # ---------------------------------------------------------------------------
  16. PROJECT = MDIAPP.exe
  17. OBJFILES = MDIAPP.obj Main.obj ChildWin.obj
  18. RESFILES = MDIAPP.res
  19. RESDEPEN = $(RESFILES) Main.obj ChildWin.dfm
  20. LIBFILES =
  21. LIBRARIES = VCL35.lib
  22. SPARELIBS = VCL35.lib
  23. DEFFILE =
  24. PACKAGES =
  25. # ---------------------------------------------------------------------------
  26. PATHCPP = .;
  27. PATHASM = .;
  28. PATHPAS = .;
  29. PATHRC = .;
  30. DEBUGLIBPATH = $(BCB)\lib\debug
  31. RELEASELIBPATH = $(BCB)\lib\release
  32. # ---------------------------------------------------------------------------
  33. CFLAG1 = -Od -Hc -w -Ve -r- -k -y -v -vi- -c -b- -w-par -w-inl -Vx -tW
  34. CFLAG2 = -D_RTLDLL;USEPACKAGES -I$(BCB)\include;$(BCB)\include\vcl -H=$(BCB)\lib\vcl35.csm
  35. CFLAG3 = -Tkh30000
  36. PFLAGS = -D_RTLDLL;USEPACKAGES -U$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) \
  37.   -I$(BCB)\include;$(BCB)\include\vcl -$Y -$W -$O- -v -JPHN -M
  38. RFLAGS = -D_RTLDLL;USEPACKAGES -i$(BCB)\include;$(BCB)\include\vcl
  39. AFLAGS = /i$(BCB)\include /i$(BCB)\include\vcl /d_RTLDLL /dUSEPACKAGES /mx /w2 /zd
  40. LFLAGS = -L$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) -aa -Tpe -x -Gn -v
  41. IFLAGS =
  42. # ---------------------------------------------------------------------------
  43. ALLOBJ = c0w32.obj $(PACKAGES) $(OBJFILES)
  44. ALLRES = $(RESFILES)
  45. ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib
  46. # ---------------------------------------------------------------------------
  47. !ifdef IDEOPTIONS
  48.  
  49. [Version Info]
  50. IncludeVerInfo=0
  51. AutoIncBuild=0
  52. MajorVer=1
  53. MinorVer=0
  54. Release=0
  55. Build=0
  56. Debug=0
  57. PreRelease=0
  58. Special=0
  59. Private=0
  60. DLL=0
  61.  
  62. [Version Info Keys]
  63. CompanyName=
  64. FileDescription=
  65. FileVersion=1.0.0.0
  66. InternalName=
  67. LegalCopyright=
  68. LegalTrademarks=
  69. OriginalFilename=
  70. ProductName=
  71. ProductVersion=1.0.0.0
  72. Comments=
  73.  
  74. [Debugging]
  75. DebugSourceDirs=$(BCB)\source\vcl
  76.  
  77. [Parameters]
  78. RunParams=
  79. HostApplication=
  80.  
  81. !endif
  82.  
  83. # ---------------------------------------------------------------------------
  84. # MAKE SECTION
  85. # ---------------------------------------------------------------------------
  86. # This section of the project file is not used by the BCB IDE.  It is for
  87. # the benefit of building from the command-line using the MAKE utility.
  88. # ---------------------------------------------------------------------------
  89.  
  90. .autodepend
  91. # ---------------------------------------------------------------------------
  92. !if !$d(BCC32)
  93. BCC32 = bcc32
  94. !endif
  95.  
  96. !if !$d(DCC32)
  97. DCC32 = dcc32
  98. !endif
  99.  
  100. !if !$d(TASM32)
  101. TASM32 = tasm32
  102. !endif
  103.  
  104. !if !$d(LINKER)
  105. LINKER = ilink32
  106. !endif
  107.  
  108. !if !$d(BRCC32)
  109. BRCC32 = brcc32
  110. !endif
  111. # ---------------------------------------------------------------------------
  112. !if $d(PATHCPP)
  113. .PATH.CPP = $(PATHCPP)
  114. .PATH.C   = $(PATHCPP)
  115. !endif
  116.  
  117. !if $d(PATHPAS)
  118. .PATH.PAS = $(PATHPAS)
  119. !endif
  120.  
  121. !if $d(PATHASM)
  122. .PATH.ASM = $(PATHASM)
  123. !endif
  124.  
  125. !if $d(PATHRC)
  126. .PATH.RC  = $(PATHRC)
  127. !endif
  128. # ---------------------------------------------------------------------------
  129. $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  130.     $(BCB)\BIN\$(LINKER) @&&!
  131.     $(LFLAGS) +
  132.     $(ALLOBJ), +
  133.     $(PROJECT),, +
  134.     $(ALLLIB), +
  135.     $(DEFFILE), +
  136.     $(ALLRES)
  137. !
  138. # ---------------------------------------------------------------------------
  139. .pas.hpp:
  140.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  141.  
  142. .pas.obj:
  143.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  144.  
  145. .cpp.obj:
  146.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  147.  
  148. .c.obj:
  149.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  150.  
  151. .asm.obj:
  152.     $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
  153.  
  154. .rc.res:
  155.     $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
  156. # ---------------------------------------------------------------------------
  157.